package com.ruoyi.resume.service;

import com.ruoyi.resume.domain.model.match.JobMatchVo;
import com.ruoyi.resume.domain.model.match.ResumeMatch;
import io.minio.errors.*;
import io.swagger.models.auth.In;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

public interface MatchResumeService {
    //人岗匹配接口(岗位新增或导入时调用)
    List<ResumeMatch> matchResume(JobMatchVo jobDescription);

    //更新单个岗位的推荐人，不走大模型，直接根据标签进行匹配
    List<ResumeMatch> updateCandidateId(Integer jobId);

    //匹配效果可视化
    String matchResumeVisual(int jobId) throws ServerException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;
}
